There are 4 files excluding this read me file:
1. medoid-based.Rmd : a file source consists of text and code. It can be reproduced.
2. medoid.bib: a bibligraphy file listed in the medoid-based.Rmd file.
3. lenses.txt: a data set from UCI repository
4. medoid-based.pdf: an ouput file from medoid-based.Rmd rendered in Rstudio

To run medoid-based.Rmd file, it requires:
1. R software
2. R studio

Minimum installed packages are:
1. knitr (to render .Rmd file into other formats: html, pdf, word, rtf)
2. tinytex (if the desired output file is a pdf file)
3. ggplot2 
4. clusterGeneration
5. cluster
6. kmed
7. geomnet
8. gridExtra
9. flexclust

Notes:
1. Lines 449 in the medoid-based.Rmd file reads lenses.txt when it is stored in drive C:
   This has to be modified, if a user put the lenses.txt in an other path.
2. medoid.bib (a bibliography file) has to be in the same working directory with 
   medoid-based.Rmd
3. The data simulation involves 1000 objects. An Intel i3 4GB RAM requires 8 minutes 
   to render medoid-based.Rmd into medoid-based.pdf
4. A user can modify line 343 in the medoid-based.Rmd to reduce the rendering time.
   Because it simulate 1000 objects, a user can modify the objects into 100, for instance,
   to test if the medoid-based.Rmd can be rendered properly. With only 100 objects, 
   it requires less than 30 seconds to render the file. 
   Thus, the line 343 can be modified into
   
   n <- 100 
